package com.dushuren.project.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 搜索词记录
 * @TableName record_words_search
 */
@TableName(value ="record_words_search")
@Data
public class RecordWordsSearch implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 搜索的内容
     */
    private String searchInformation;

    /**
     * 搜索用户的id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}